Optimal. Leaf size=40 \[ -\frac {1}{3 a x^3}-\frac {\sqrt {b} \tan ^{-1}\left (\frac {\sqrt {b} x^3}{\sqrt {a}}\right )}{3 a^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {281, 331, 211}
\begin {gather*} -\frac {\sqrt {b} \text {ArcTan}\left (\frac {\sqrt {b} x^3}{\sqrt {a}}\right )}{3 a^{3/2}}-\frac {1}{3 a x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 281
Rule 331
Rubi steps
\begin {align*} \int \frac {1}{x^4 \left (a+b x^6\right )} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{x^2 \left (a+b x^2\right )} \, dx,x,x^3\right )\\ &=-\frac {1}{3 a x^3}-\frac {b \text {Subst}\left (\int \frac {1}{a+b x^2} \, dx,x,x^3\right )}{3 a}\\ &=-\frac {1}{3 a x^3}-\frac {\sqrt {b} \tan ^{-1}\left (\frac {\sqrt {b} x^3}{\sqrt {a}}\right )}{3 a^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(101\) vs. \(2(40)=80\).
time = 0.02, size = 101, normalized size = 2.52 \begin {gather*} \frac {-\sqrt {a}+\sqrt {b} x^3 \tan ^{-1}\left (\frac {\sqrt [6]{b} x}{\sqrt [6]{a}}\right )+\sqrt {b} x^3 \tan ^{-1}\left (\sqrt {3}-\frac {2 \sqrt [6]{b} x}{\sqrt [6]{a}}\right )-\sqrt {b} x^3 \tan ^{-1}\left (\sqrt {3}+\frac {2 \sqrt [6]{b} x}{\sqrt [6]{a}}\right )}{3 a^{3/2} x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 32, normalized size = 0.80
method | result | size |
default | \(-\frac {1}{3 a \,x^{3}}-\frac {b \arctan \left (\frac {b \,x^{3}}{\sqrt {a b}}\right )}{3 a \sqrt {a b}}\) | \(32\) |
risch | \(-\frac {1}{3 a \,x^{3}}+\frac {\left (\munderset {\textit {\_R} =\RootOf \left (a^{3} \textit {\_Z}^{2}+b \right )}{\sum }\textit {\_R} \ln \left (\left (-7 a^{3} \textit {\_R}^{2}-6 b \right ) x^{3}-a^{2} \textit {\_R} \right )\right )}{6}\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 31, normalized size = 0.78 \begin {gather*} -\frac {b \arctan \left (\frac {b x^{3}}{\sqrt {a b}}\right )}{3 \, \sqrt {a b} a} - \frac {1}{3 \, a x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 90, normalized size = 2.25 \begin {gather*} \left [\frac {x^{3} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{6} - 2 \, a x^{3} \sqrt {-\frac {b}{a}} - a}{b x^{6} + a}\right ) - 2}{6 \, a x^{3}}, -\frac {x^{3} \sqrt {\frac {b}{a}} \arctan \left (x^{3} \sqrt {\frac {b}{a}}\right ) + 1}{3 \, a x^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.13, size = 71, normalized size = 1.78 \begin {gather*} \frac {\sqrt {- \frac {b}{a^{3}}} \log {\left (- \frac {a^{2} \sqrt {- \frac {b}{a^{3}}}}{b} + x^{3} \right )}}{6} - \frac {\sqrt {- \frac {b}{a^{3}}} \log {\left (\frac {a^{2} \sqrt {- \frac {b}{a^{3}}}}{b} + x^{3} \right )}}{6} - \frac {1}{3 a x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.47, size = 31, normalized size = 0.78 \begin {gather*} -\frac {b \arctan \left (\frac {b x^{3}}{\sqrt {a b}}\right )}{3 \, \sqrt {a b} a} - \frac {1}{3 \, a x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 28, normalized size = 0.70 \begin {gather*} -\frac {1}{3\,a\,x^3}-\frac {\sqrt {b}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x^3}{\sqrt {a}}\right )}{3\,a^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________